#ifndef DEVICE_H_1
#define DEVICE_H_1

#include "common/BaseObject.h"

class Device1 : public BaseObject
{
public:
    Device1();
    virtual  ~Device1();

    QString GetIP() const {return m_sIP;}
    void SetIP(QString sValue) {m_sIP = sValue;}

    QString GetArea() const {return m_sArea;}
    void SetArea(QString sValue) {m_sArea = sValue;}

    QString GetOwner() const {return m_sOwner;}
    void SetOwner(QString sValue) {m_sOwner = sValue;}

    QString GetAddTime() const {return m_sAddTime;}
    void SetAddTime(QString sValue) {m_sAddTime = sValue;}

    QString GetPlatformCode() const {return m_sPlatformCode;}
    void SetPlatformCode(QString sValue) {m_sPlatformCode = sValue;}

    QString GetCorpID() const {return m_sCorpID;}
    void SetCorpID(QString sValue) {m_sCorpID = sValue;}

    QString GetFactory() const {return m_sFactory;}
    void SetFactory(QString sValue) {m_sFactory = sValue;}

    QString GetModel() const {return m_sModel;}
    void SetModel(QString sValue) {m_sModel = sValue;}

    QString GetVersion() const {return m_sVersion;}
    void SetVersion(QString sValue) {m_sVersion = sValue;}

    QString GetRemark() const {return m_sRemark;}
    void SetRemark(QString sValue) {m_sRemark = sValue;}

    QString GetCPU() const {return m_sCPU;}
    void SetCPU(QString sValue) {m_sCPU = sValue;}

    QString GetMEM() const {return m_sMEM;}
    void SetMEM(QString sValue) {m_sMEM = sValue;}

    QString GetShowName() const {return m_sShowName;}
    void SetShowName(QString sValue) {m_sShowName = sValue;}

    QString GetIPFetch() const {return m_sIPFetch;}
    void SetIPFetch(QString sValue) {m_sIPFetch = sValue;}

    unsigned int GetIsWriteFile() const {return m_uiIsWriteFile;}
    void SetIsWriteFile(unsigned int uiValue) {m_uiIsWriteFile = uiValue;}

    QString GetAgentID() const {return m_sAgentID;}
    void SetAgentID(QString sValue) {m_sAgentID = sValue;}

    unsigned int GetState() const {return m_uiState;}
    void SetState(unsigned int uiValue){m_uiState = uiValue;}

    QString GetCommunity() const {return m_sCommunity;}
    void SetCommunity(QString sValue) {m_sCommunity = sValue;}

    QString GetCpuoID() const {return m_sCpuoID;}
    void SetCpuoID(QString sValue) {m_sCpuoID = sValue;}

    QString GetMemoID() const {return m_sMemoID;}
    void SetMemoID(QString sValue) {m_sMemoID = sValue;}

    QString GetCurIP() const {return m_sCurIP;}
    void SetCurIP(QString sValue) {m_sCurIP = sValue;}

    QString GetVoltageLevel() const {return m_sVoltageLevel;}
    void SetVoltageLevel(QString sValue) {m_sVoltageLevel = sValue;}

    QString GetZdlx() const {return m_sZdlx;}
    void SetZdlx(QString sValue) {m_sZdlx = sValue;}
	void SetHideMode(int nmode)   {  m_nHideMode = nmode;   };
    int GetHideMode() const    {     return m_nHideMode;   };
private:

    QString         m_sIP;
    QString         m_sArea;
    QString         m_sOwner;
    QString         m_sAddTime;
    QString         m_sPlatformCode;
    QString         m_sCorpID;
    QString         m_sFactory;
    QString         m_sModel;
    QString         m_sVersion;
    QString         m_sRemark;
    QString         m_sCPU;
    QString         m_sMEM;
    QString         m_sShowName;
    QString         m_sIPFetch;
    unsigned int    m_uiIsWriteFile;
    QString         m_sAgentID;
    unsigned int    m_uiState;
    QString         m_sCommunity;
    QString         m_sCpuoID;
    QString         m_sMemoID;
    QString         m_sCurIP;
    QString         m_sVoltageLevel;
    QString         m_sZdlx;
	int m_nHideMode;
};

#endif // DEVICE_H
